package com.kingdee.eas.mx.docs.ci;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class CreditInsuranceFactory
{
    private CreditInsuranceFactory()
    {
    }
    public static com.kingdee.eas.mx.docs.ci.ICreditInsurance getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.mx.docs.ci.ICreditInsurance)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("AA125841") ,com.kingdee.eas.mx.docs.ci.ICreditInsurance.class);
    }
    
    public static com.kingdee.eas.mx.docs.ci.ICreditInsurance getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.mx.docs.ci.ICreditInsurance)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("AA125841") ,com.kingdee.eas.mx.docs.ci.ICreditInsurance.class, objectCtx);
    }
    public static com.kingdee.eas.mx.docs.ci.ICreditInsurance getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.mx.docs.ci.ICreditInsurance)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("AA125841"));
    }
    public static com.kingdee.eas.mx.docs.ci.ICreditInsurance getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.mx.docs.ci.ICreditInsurance)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("AA125841"));
    }
}